<{extends file="<{$tempdir}>/public/admin.html"}> 
<{block name=extendjs}>
<script src="<{$siteurl}>/templates/<{$tempdir}>/public/js/jquery.PrintArea.js" type="text/javascript" language="javascript"></script>
<script src="<{$siteurl}>/templates/<{$tempdir}>/public/js/datepicker/WdatePicker.js" type="text/javascript" language="javascript"></script>
<{/block}>
 <{block name=controlname}>商家结算<{/block}>
 <{block name=bodylist}>
 
 <div class="managShopCon">
	<div class="managShopBox">
		<div class="managShopMain">
			<div class="managShopClas">
				<ul>
					<li><a href="<{ofunc type=url link="/areaadminpage/order/module/ordertotal"}>">网站订单</a></li>
					<li class="maShClaA"><a href="<{ofunc type=url link="/areaadminpage/order/module/orderyjin"}>">店铺订单</a></li>
				</ul>
			</div>
			<div class="ordManagQuery">
			 <form method="post" name="form1" action="<{ofunc type=url link="/areaadminpage/order/module/orderyjin"}>">
				<ul> 
					<li><span>商家店铺名：</span><input type="text" value="<{$searchvalue}>"  name="searchvalue"  class="searchvalue"></li>
					<li>
						<span>从</span>
				 <input style="float:left;" class="Wdate datefmt searchvalue" type="text" name="starttime" id="starttime" value="<{$starttime|date_format:"%Y-%m-%d"}>"  onFocus="WdatePicker({isShowClear:false,readOnly:true});" />  

						<span>到</span>
				 <input style="float:left;" class="Wdate datefmt searchvalue" type="text" name="endtime" id="endtime" value="<{$endtime|date_format:"%Y-%m-%d"}>"  onFocus="WdatePicker({isShowClear:false,readOnly:true});" />                  

						<input type="submit" value="提交查询" class="searchBut">
					</li>
				</ul>
				 </form>
			</div>
			<div class="managShopList">
			<form method="post" action="" onsubmit="return remind();" id="delform">
				<table>
				<{if empty($list)}>
					<center>
					<span style="height:100px;line-height:100px;color:#ccc;">暂无数据</span>
					</center>
                <{else}>
					<thead>
						<tr>
							<td width="36">
								<div class="managShopChek">
									<input type="checkbox"  id="chkall" name="chkall" onclick="checkall()"> 
								</div>
							</td>
							<td width="140">商家列表</td>
							<td width="108">配送方式</td>
							<td width="84">订单数量</td>
							<td width="84">在线付款</td>
							<td width="84">线下支付</td>
							<td width="84">使用优惠券</td>
							<td width="84">店铺优惠</td>
							<td width="84">使用积分</td>
							<td width="80">打包费</td>
							<td width="68">配送费</td>
							<td width="90">商品总价</td>
							<td width="50">佣金</td>
							<td width="70">导出</td>
						</tr>
					</thead>
					<tbody>
					
				
					<{foreach from=$list item=items}> 
						<tr>
							<td>
								<div class="managShopChek">
									<input type="checkbox"  name="id[]" value="<{$items['id']}>" > 
								</div>
							</td>
							<td><{$items['shopname']}></td>
							<td><{$items['sendtype']|default:0}></td>
							<td><{$items['orderNum']|default:0}></td>
							<td><{$items['online']|default:0}></td>
							<td><{$items['unline']|default:0}></td>
							<td><{$items['yhjcost']|default:0}></td>
							<td><{$items['cxcost']|default:0}></td>
							<td><{$items['score']|default:0}></td>
							<td><{$items['bagcost']|default:0}></td>
							<td><{$items['pscost']|default:0}></td>
							<td><{$items['goodscost']|default:0}></td>
							<td><{$items['yje']|default:0}></td>
							<td><a href="<{$items['outdetail']}>">导出</a></td>
						</tr>
						<{/foreach}> 
					<{/if}>	
						
					</tbody>
				</table>
				</form>
			</div>
			
						<div class="select_page" style="margin-top:50px;">
                 	     	<a href="#" onclick="checkword(true);">全选</a>/<a href="#" onclick="checkword(false);">取消</a> 
                 	     <a  onclick="outchoice(this);" href="#"  data="<{$outlinkch}>" class="delurl">导出选择项</a>
                 	     <a  href="<{$outlink}>" target="_blank" class="delurl">导出查询结果</a></div>
 			<div class="pagingCon">
			
 				<ul>
				<{$pagecontent}>
				</ul>
 			</div>
		</div>
	</div>
</div>
 
 
 
 
<script type="text/javascript">
   function colorred(obj){
   	$(obj).css('background','#eee'); 
   }
   function tcolorred(obj){
   	$(obj).css('background','');
   }
    
 </script>

<{/block}>